﻿<?xml version="1.0" encoding="utf-8" ?>
<scenarios xmlns="http://microsoft.com/mgsi/sunil/GenericMethodInvoker.xsd">
  <scenario name="Test" include="true">
    <!--<objectInstance name="target" type="TestClassLibrary.CollectionParamMethods" assembly="TestClassLibrary.dll">
      <methods>
        <methodCall name="DoSomethingWithCollection" include="true" >
          <iterationParameters repeatIterationCount="1" culture="en-US">
            <objectInstance name="listOfBooleans" type="System.Collections.Generic.List`1[[System.Boolean]]">
              <methods>
                <methodCall name="Add"  include="true">
                  <iterationParameters repeatIterationCount="5" culture="en-US">
                    <objectInstance name="Item" type="System.Boolean" value="true">
                    </objectInstance>
                  </iterationParameters>
                </methodCall>
              </methods>
            </objectInstance>
            <objectInstance name="someParam" type="TestClassLibrary.SomeParameteredConstructorClass" assembly="TestClassLibrary.dll" initializeThroughConstructor="true">
              <constructorParameters>
                <objectInstance name="a" type="System.Int32" value="1"></objectInstance>
                <objectInstance name="b" type="System.Int32" value="1"></objectInstance>
                <objectInstance name="c" type="System.String" value="sunil"></objectInstance>
              </constructorParameters>
            </objectInstance>
            <objectInstance name="allPropClassParam" type="TestClassLibrary.AllPropertiesClass" assembly="TestClassLibrary.dll">
              <properties>
                <objectInstance name="PropA" type="System.Int32" value="1"></objectInstance>
                <objectInstance name="PropB" type="System.String" value="PropBValue"></objectInstance>
                <objectInstance name="PropC" type="System.Boolean" value="true"></objectInstance>
              </properties>
            </objectInstance>
          </iterationParameters>
        </methodCall>
      </methods>
    </objectInstance>-->
    <objectInstance name="target" assembly="SampleLibrary.dll" type="SampleLibrary.PrimeNumberDetector">
      <methods>
        <methodCall include="true" name="GetIsPrimeResult">
          <iterationParameters repeatIterationCount ="5" culture="en-US">
            <objectInstance name="val" type="System.Int32" value="5"></objectInstance>
          </iterationParameters>
        </methodCall>
      </methods>
    </objectInstance>
  </scenario>
  <scenario name="Test1" include="true">
    <objectInstance name="target" assembly="SampleLibrary.dll" type="SampleLibrary.PrimeNumberDetector">
      <methods>
        <methodCall include="true" name="DoSomething">
          <iterationParameters repeatIterationCount ="10" culture="en-US">
            <objectInstance name="val" type="System.Int32" value="5"></objectInstance>
          </iterationParameters>
        </methodCall>
      </methods>
    </objectInstance>
  </scenario>
</scenarios>